<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	template="/WEB-INF/jsf/template.xhtml">

	<ui:define name="head">
	</ui:define>

	<ui:define name="content">
		<h1>Manage #{paysmsgs['pays.title']}s</h1>
		
		<h:form>	
			<p:commandButton image="new" ajax="false" style="margin-right:20px;" value="#{paysmsgs['navigation.new']}" action="#{PaysComponent.newPays()}"/>
			<p:dataTable id="dta" value="#{PaysComponent.listPayss()}"  var="current" rows="15" paginator="true" paginatorPosition="bottom">
				<p:column>
					<h:commandLink includeViewParams="true" action="#{PaysComponent.selectPays(current.pppPays)}" >
						<h:graphicImage value="/images/icons/view.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{PaysComponent.editPays(current.pppPays)}" >
						<h:graphicImage value="/images/icons/edit.gif" style="border:0;"/>
					</h:commandLink>
					<h:commandLink includeViewParams="true" action="#{PaysComponent.confirmDeletePays(current.pppPays)}" >
						<h:graphicImage value="/images/icons/delete.gif" style="border:0;"/>
					</h:commandLink>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.ppppays.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppPays}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.ppplibelle.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppLibelle}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasquecodepostal.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueCodePostal}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasquetelephone.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueTelephone}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppprefixeinternational.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppPrefixeInternational}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.ppplibellerecherche.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppLibelleRecherche}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppcpmodifiable.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppCpModifiable}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppninsee.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppNInsee}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppetiquetterib.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppEtiquetteRib}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasqueportable.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasquePortable}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasqueetablissement.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueEtablissement}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasqueguichet.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueGuichet}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasquecompte.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueCompte}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppmasquecle.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppMasqueCle}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppordredsiban.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppOrdreDsIban}"/>
				</p:column>
				<p:column> 
					<f:facet name="header">
						<h:outputText value="#{paysmsgs['pays.pppce.title']}" />
					</f:facet>
							<h:outputText value="#{current.pppCe}"/>
				</p:column>
			</p:dataTable>
		</h:form>
	</ui:define>
</ui:composition>
